package org.gdpu.Service;

import org.gdpu.base.DAO;
import org.gdpu.model.Dormitory;
import org.gdpu.model.Maintaining;
import org.gdpu.model.PowerGroup;

import java.util.List;

/**
 * Created by HEWI2 on 2/17/14.
 */
public interface MaintainingService extends DAO {

    /**
     * @param dormitory
     * @return
     */
    public List<Maintaining> findResultByDormitory(Dormitory dormitory);

    /**
     * @return
     */
    public List<Maintaining> findResult();

    public Maintaining findResult(int id);

}
